package com.apetrenko.avaya.callstore.server;

import java.util.Date;

public class RecordInfo {

	private String iOperator;
	private String iOriginalFileName;
	private String iOriginator;
	private Date iStartTime;
	private String iArchiveFileName;
	private int iDuration;

	public String getArchiveFileName() {
		return iArchiveFileName;
	}

	public String getOperator() {
		return iOperator;
	}

	public String getOriginalFileName() {
		return iOriginalFileName;
	}

	public String getOriginator() {
		return iOriginator;
	}

	public Date getStartTime() {
		return iStartTime;
	}

	public void setOperator(String aOperator) {
		iOperator = aOperator.replaceAll("\0", "0");
	}

	public void setOriginalFileName(String aName) {
		iOriginalFileName = aName.replaceAll("\0", "0");

	}

	public void setOriginator(String aOriginator) {
		iOriginator = aOriginator.replaceAll("\0", "0");
	}

	public void setStartTime(Date aStartTime) {
		iStartTime = aStartTime;
	}

	public void setArchiveFileName(String aArchiveFileName) {
		iArchiveFileName = aArchiveFileName.replaceAll("\0", "0");		
	}

	public void setDuration(int duration) {
		iDuration = duration;
	}

	public int getDuration() {
		return iDuration;
	}

}